package com.gome.ocean.service.gddl;

import java.util.List;

import com.github.pagehelper.Page;
import com.gome.ocean.dao.model.gddl.GroupBO;

public interface GroupService {

    public boolean insertGroupBO(GroupBO groupBO);

    public boolean removeGroupBOById(Long id);

    public boolean updateGroupBOById(GroupBO groupBO);

    public GroupBO findGroupBOById(Long id);

    public GroupBO findGroupBOAppIdAndGroupName(Long appId, String groupName);

    public List<GroupBO> findGroupBOByAppId(Long appId);

    public GroupBO findGroupBOByGroupName(String groupName);

    public Page<GroupBO> findAllGroups(int pageNum, int pageSize);

    public List<GroupBO> findLikeGroupBOByGroupName(String groupName);
}
